__all__ = (
        'APP',
        'VERSION',
        'DATA_DIR',
        'init_locale',
        )

import os
import gettext

APP = 'LliureX-Tweak'
VERSION = '0.4.2'
DATA_DIR = '/usr/local/share/ubuntu-tweak/data'


#datadir LLX
if not os.path.exists(DATA_DIR):
	datadir = (os.path.dirname((os.path.dirname(os.path.dirname(os.path.realpath(__file__))))))
	DATA_DIR = os.path.join(datadir, 'data')

def init_locale():
    global INIT
    try:
        INIT
    except:
        gettext.install(APP, unicode = True)
        INIT = True

init_locale()
